Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.0] Make getModel throw when not found #331

Merged
merged 1 commit into from
Jun 16, 2014

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Jun 16, 2014

Rename loopback.getModel to loopback.findModel.

Implement loopback.getModel as a wrapper around findModel that
throws an error when the model as not found.

/to @ritch please review. We have discussed this change on Friday.

Rename `loopback.getModel` to `loopback.findModel`.

Implement `loopback.getModel` as a wrapper around `findModel` that
throws an error when the model as not found.
@bajtos bajtos added this to the 2.0.0 milestone Jun 16, 2014
@bajtos bajtos changed the title Make get model throw when not found [2.0] Make getModel throw when not found Jun 16, 2014
@ritch
Copy link
Member

ritch commented Jun 16, 2014

LGTM

bajtos added a commit that referenced this pull request Jun 16, 2014
…-found

[2.0] Make getModel throw when not found
@bajtos bajtos merged commit 75406f0 into 2.0 Jun 16, 2014
@bajtos bajtos deleted the make-get-model-throw-when-not-found branch June 16, 2014 17:50
@bajtos bajtos added the doc label Jul 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants